import Vue from 'vue'
import Router from 'vue-router'
import HomeTabber from '@/pages/homePage/homeTabbar'
import Home from '@/pages/homePage/home'
import Index from '@/pages/homePage/index'
import StudyCenter from '@/pages/homePage/studycenter'
import Growup from '@/pages/homePage/growup'
import OwnRecord from '@/pages/growthArchives/ownRecord'
// 页面更多
import More from '@/pages/homePage/more'
import Plan from '@/pages/homePage/plan'
// 成长档案-学历详情
import Education from '@/pages/growthArchives/education'
// 成长档案-学历详情
import Things from '@/pages/homePage/things'
// 成长档案-学历详情
import PeopleRules from '@/pages/homePage/peopleRules'
// 成长档案-职级详情
import Gradedetails from '@/pages/growthArchives/gradedetails'
// 成长档案-部门及岗位
import Partment from '@/pages/growthArchives/partment'
// 成长档案-绩效详情
import MeritsDetail from '@/pages/growthArchives/meritsDetail'
// 成长档案-职称详情
import TitleDetail from '@/pages/growthArchives/titleDetail'
// 成长档案-项目经验
import ProjectExperice from '@/pages/growthArchives/projectExperice'
// 成长档案-项目详情
import ProjectDetails from '@/pages/growthArchives/projectDetails'
// 成长档案-专利及知识产权
import Patent from '@/pages/growthArchives/patent'
// 成长档案-专利详情
import PatentDetails from '@/pages/growthArchives/patentDetails'
// 成长档案-申请晋级
import Application from '@/pages/growthArchives/application'
// 成长档案-六西格玛
import Sixlxsb from '@/pages/growthArchives/sixlxsb'
// 成长档案-申请结果
import ApplicationResult from '@/pages/growthArchives/applicationResult'
// 学习中心-消息详情
import MessageDetail from '@/pages/homePage/messageDetail'
// 学习中心-消息列表
import MessageList from '@/pages/homePage/messageList'
// 学习中心-课程详情
import ClassDetail from '@/pages/studyCenterPage/classDetail'
// 学习中心-精品课程列表
import GoodCourse from '@/pages/studyCenterPage/goodCourse'
// 学习中心-课程中心
import ClassCenter from '@/pages/studyCenterPage/classCenter'
// 学习中心-面授课程详情
import FaceClass from '@/pages/studyCenterPage/faceClass'
// 学习中心-讲师详情
import TeacherDetail from '@/pages/studyCenterPage/teacherDetail'
// 学习中心-讲师课程详情
import TeacherClassList from '@/pages/studyCenterPage/teacherClassList'
// 学习中心-精品课程详情
import GoodCourseForTeacher from '@/pages/studyCenterPage/goodCourseForTeacher'
// 学习中心-讲师列表
import TeacherList from '@/pages/studyCenterPage/teacherList'
// 学习中心-讲师列表
import TeacherList1 from '@/pages/studyCenterPage/teacherList1'
// 学习中心-我要选导师
import ChooseTeacher from '@/pages/studyCenterPage/chooseTeacher'
// 学习中心-我的课程
import MyClass from '@/pages/studyCenterPage/myClass'
// 学习中心-我的导师
import MyTeacher from '@/pages/studyCenterPage/myTeacher'
// 学习中心-我的导师详情
import MyTeacherDetail from '@/pages/studyCenterPage/myTeacherDetail'
// 学习中心-我的徒弟
import MyApprentice from '@/pages/studyCenterPage/myApprentice'
// 学习中心-我的徒弟审核
import apprenticeApply from '@/pages/studyCenterPage/apprenticeApply'
// 学习中心-徒弟信息
import ApprenticeDetail from '@/pages/studyCenterPage/apprenticeDetail'
// 学习中心-导师评价
import CommentTeacher from '@/pages/studyCenterPage/commentTeacher'
// 学习中心-审批列表
import ApplyClass from '@/pages/studyCenterPage/applyClass'
// 学习中心-课程审批
import ClassApply from '@/pages/studyCenterPage/classApply'
// 学习中心-发布课程
import PublishClass from '@/pages/studyCenterPage/publishClass'
// 学习中心-课程列表
import ClassList from '@/pages/studyCenterPage/classList'
// 学习中心-上课课程列表
import GoClass from '@/pages/studyCenterPage/goClass'
// 学习中心-课程评估
import ClassAssessment from '@/pages/studyCenterPage/classAssessment'
// 学习中心-导师评估
import StudentAssessment from '@/pages/studyCenterPage/studentAssessment'
// 学习中心-徒弟评估
import TeacherAssessment from '@/pages/studyCenterPage/teacherAssessment'
// 学习中心-申请开课
import AddClass from '@/pages/studyCenterPage/addClass'
// 学习中心-播放视频接口
import LearnClass from '@/pages/studyCenterPage/learnClass'
// 学习中心-pdf
import Pdf from '@/pages/studyCenterPage/pdf'
import TestUI from '@/pages/growthArchives/testUI'
// 引入优才引荐页面
import TalentIntroduce from '@/pages/talentPages/talentIntroduce'
// 引入筛选页面
import SelectInfo from '@/pages/talentPages/selectInfo'
// 引入外部-岗位详情页面
import OutsideDetail from '@/pages/talentPages/outsideDetail'
// 引入内部-岗位详情页面
import InsideDetail from '@/pages/talentPages/insideDetail'
// 引入简历导入页面
import ResumeImport from '@/pages/talentPages/resumeImport'
// 引入人才引荐页面
import IntroduceInfo from '@/pages/talentPages/introduceInfo'
// 引入我要竞聘页面
import CompeteInfo from '@/pages/talentPages/competeInfo'



Vue.use(Router)

export default new Router({
  // mode: 'history',
  routes: [{
      path: '/',
      redirect: '/Index'
    },
    {
      path: '/Index',
      name: 'Index',
      component: Index,
      meta: {
        index: 0
      },
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home,
      meta: {
        index: 1
      },
    },
    {
      path: '/Growup',
      name: 'Growup',
      component: Growup,
      meta: {
        index: 3
      },
    },
    {
      path: '/StudyCenter',
      name: 'StudyCenter',
      component: StudyCenter,
      meta: {
        index: 2
      },
    },
    {
      path: '/TalentIntroduce',
      name: 'TalentIntroduce',
      component: TalentIntroduce,
      meta: {
        index: 5
      },
    },
    {
      path: '/Things',
      name: 'Things',
      component: Things,
      meta: {
        index: 4
      },
    },
    {
      path: '/Sixlxsb',
      name: 'Sixlxsb',
      component: Sixlxsb,
      meta: {
        index: 4
      },
    },
    {
      path: '/PeopleRules',
      name: 'PeopleRules',
      component: PeopleRules,
      meta: {
        index: 7
      },
    },
    {
      path: '/ApprenticeDetail',
      name: 'ApprenticeDetail',
      component: ApprenticeDetail,
      meta: {
        index: 8
      }
    },
    {
      path: '/More',
      name: 'More',
      component: More,
      meta: {
        index: 1.5
      }
    },
    {
      path: '/Plan',
      name: 'Plan',
      component: Plan,
      meta: {
        index: 3
      }
    },
    {
      path: '/GoodCourse',
      name: 'GoodCourse',
      component: GoodCourse,
      meta: {
        index: 2
      }
    },
    {
      path: '/MessageList',
      name: 'MessageList',
      component: MessageList,
      meta: {
        index: 2
      }
    },
    {
      path: '/MessageDetail',
      name: 'MessageDetail',
      component: MessageDetail,
      meta: {
        index: 3
      }
    },
    {
      path: '/ProjectExperice',
      name: 'ProjectExperice',
      component: ProjectExperice,
      meta: {
        index: 6
      },
      children: []
    },
    {
      path: '/projectDetails',
      name: 'projectDetails',
      component: ProjectDetails,
      meta: {
        index: 7
      },
    },
    {
      path: '/TitleDetail',
      name: 'TitleDetail',
      component: TitleDetail,
      meta: {
        index: 7
      }
    },
    {
      path: '/MyClass',
      name: 'MyClass',
      component: MyClass,
      meta: {
        index: 6
      }
    },
    {
      path: '/PublishClass',
      name: 'PublishClass',
      component: PublishClass,
      meta: {
        index: 8
      }
    },
    {
      path: '/LearnClass',
      name: 'LearnClass',
      component: LearnClass,
      meta: {
        index: 8
      }
    },
    {
      path: '/Pdf',
      name: 'Pdf',
      component: Pdf,
      meta: {
        index: 8
      }
    },
    {
      path: '/MyTeacher',
      name: 'MyTeacher',
      component: MyTeacher,
      meta: {
        index: 6
      }
    },
   
    {
      path: '/TeacherAssessment',
      name: 'TeacherAssessment',
      component: TeacherAssessment,
      meta: {
        index: 8
      }
    },
    {
      path: '/MyTeacherDetail',
      name: 'MyTeacherDetail',
      component: MyTeacherDetail,
      meta: {
        index: 7
      }
    },
    {
      path: '/apprenticeApply',
      name: 'apprenticeApply',
      component: apprenticeApply,
      meta: {
        index: 7
      }
    },
    {
      path: '/StudentAssessment',
      name: 'StudentAssessment',
      component: StudentAssessment,
      meta: {
        index: 9
      }
    },
    {
      path: '/MyApprentice',
      name: 'MyApprentice',
      component: MyApprentice,
      meta: {
        index: 6
      }
    },
    {
      path: '/ChooseTeacher',
      name: 'ChooseTeacher',
      component: ChooseTeacher,
      meta: {
        index: 6
      }
    },
    {
      path: '/CommentTeacher',
      name: 'CommentTeacher',
      component: CommentTeacher,
      meta: {
        index: 7
      }
    },
    {
      path: '/ApplyClass',
      name: 'ApplyClass',
      component: ApplyClass,
      meta: {
        index: 6
      }
    },
    {
      path: '/ClassApply',
      name: 'ClassApply',
      component: ClassApply,
      meta: {
        index: 6
      }
    },
    {
      path: '/ClassList',
      name: 'ClassList',
      component: ClassList,
      meta: {
        index: 6
      }
    },
    {
      path: '/GoClass',
      name: 'GoClass',
      component: GoClass,
      meta: {
        index: 6
      }
    },
    {
      path: '/AddClass',
      name: 'AddClass',
      component: AddClass,
      meta: {
        index: 6
      }
    },
    {
      path: '/TeacherList',
      name: 'TeacherList',
      component: TeacherList,
      meta: {
        index: 6
      }
    },
    {
      path: '/TeacherList1',
      name: 'TeacherList1',
      component: TeacherList1,
      meta: {
        index: 6
      }
    },
    {
      path: '/TeacherDetail',
      name: 'TeacherDetail',
      component: TeacherDetail,
      meta: {
        index: 7
      }
    },
    {
      path: '/TeacherClassList',
      name: 'TeacherClassList',
      component: TeacherClassList,
      meta: {
        index: 8
      }
    },
    {
      path: '/GoodCourseForTeacher',
      name: 'GoodCourseForTeacher',
      component: GoodCourseForTeacher,
      meta: {
        index: 8
      }
    },
    {
      path: '/FaceClass',
      name: 'FaceClass',
      component: FaceClass,
      meta: {
        index: 9
      }
    },
    {
      path: '/ClassCenter',
      name: 'ClassCenter',
      component: ClassCenter,
      meta: {
        index: 6
      }
    },
    {
      path: '/ClassDetail',
      name: 'ClassDetail',
      component: ClassDetail,
      meta: {
        index: 9
      }
    },
    {
      path: '/ClassAssessment',
      name: 'ClassAssessment',
      component: ClassAssessment,
      meta: {
        index: 7
      }
    },
    {
      path: '/SelectInfo',
      name: 'SelectInfo',
      component: SelectInfo,
      meta: {
        index: 1
      }
    }, {
      path: '/OutsideDetail',
      name: 'OutsideDetail',
      component: OutsideDetail
    }, {
      path: '/InsideDetail',
      name: 'InsideDetail',
      component: InsideDetail,
      meta: {
        index: 7
      }
    }, {
      path: '/ResumeImport',
      name: 'ResumeImport',
      component: ResumeImport
    }, {
      path: '/IntroduceInfo',
      name: 'IntroduceInfo',
      component: IntroduceInfo
    }, {
      path: '/CompeteInfo',
      name: 'CompeteInfo',
      component: CompeteInfo,
      meta: {
        index: 8
      }
    }, {
      path: '/OwnRecord',
      name: 'OwnRecord',
      component: OwnRecord,
      meta: {
        index: 6
      }
    }, {
      path: '/Education',
      name: 'Education',
      component: Education,
      meta: {
        index: 7
      }
    }, {
      path: '/Gradedetails',
      name: 'Gradedetails',
      component: Gradedetails,
      meta: {
        index: 7
      }
    }, {
      path: '/Partment',
      name: 'Partment',
      component: Partment,
      meta: {
        index: 4
      }
    }, {
      path: '/meritsDetail',
      name: 'meritsDetail',
      component: MeritsDetail,
      meta: {
        index: 6
      }
    }, {
      path: '/patent',
      name: 'patent',
      component: Patent,
      meta: {
        index: 6
      }
    }, {
      path: '/patentDetails',
      name: 'patentDetails',
      component: PatentDetails,
      meta: {
        index: 7
      }
    }, {
      path: '/application',
      name: 'application',
      component: Application,
      meta: {
        index: 6
      }
    }, {
      path: '/applicationResult',
      name: 'applicationResult',
      component: ApplicationResult,
      meta: {
        index: 7
      }
    }, {
      path: '/testUI',
      name: 'testUI',
      component: TestUI
    }
  ]
})

